package com.hdax.dmw.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class BaseTimeEntity implements Serializable {

    @TableField(value = "createdTime",fill = FieldFill.INSERT)
    private LocalDateTime createdTime;
    @TableField(value = "updatedTime",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedTime;
}
